<template>
	<base-popup :modelValue="modelValue" title-t="validate.verification" @close="onClose">
		<ProfileBinding />
	</base-popup>
</template>

<script lang="ts" setup>
import { computed } from 'vue'
import { useProfileStore } from '@/store'
import ProfileBinding from '@/components/profile/binding/index.vue'
import { BasePopup } from '@/components/base'

defineOptions({ name: 'ViewsProfileBinding' })

const profileStore = useProfileStore()
const modelValue = computed(() => profileStore.isShowBindingPopup)

const onClose = () => {
	profileStore.setBindingPopupShow(false)
}
</script>
